package com.ncloud.crm.service;

import java.util.List;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ncloud.crm.entity.order.WorkNodeCloudIpseg;

/**
 * Created by shiqiang on 2017/4/11.
 */
public interface WorkNodePublicCloudSegService{
	int insert(JSONObject json);
	JSONArray validate(JSONObject json, JSONObject result);
	WorkNodeCloudIpseg getPk(Long id);
	List<WorkNodeCloudIpseg> getWorkCloudSegByWorkID(Long wrokId);
	List<WorkNodeCloudIpseg> getNewIpSegsByCloudId(Long workId, Long cloudId);
}
